.form-designer-box {
  width: 100%;
  height: 100%;
  display: flex;
  border: 1px #ddd solid
}

.form-designer-left {
  width: 120px;
  border-right: 1px #ddd solid;
}

.form-designer-center {
  flex: 1;
  background-color: #eee;
  padding: 10px;
}

.form-designer-right {
  border-left: 1px #ddd solid;
  width: 300px;
}

.middle-panel {
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.palette-panel {
  height: 100%;
  overflow: auto;
}

.panel-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.panel-head {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px #ddd solid;
}

.panel-body {
  flex: 1;
  overflow: auto;
  padding: 10px;
}

.panel-dt {
  height: 28px;
  line-height: 28px;
  background-color: #eee;
  padding: 0 10px;
  border-bottom: 1px #ddd solid;
}

.panel-dd {
  padding: 0 10px;
  border-bottom: 1px #ddd solid;
}

/* 设计器样式 */
.form-design-box {
  position: relative;
  height: 100%;
  padding: 40px;
}

.form-design-box-handle {
  border: 1px #ddd dashed;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-design-box-handle:hover {
  border-color: #18f;
}

.form-design-box-handle.active {
  border: 1px #18f solid;
  box-shadow: inset 0 0 0 1px #18f;
}

.form-design-inner-box {
  max-height: 100%;
  padding-right: 20px;
  overflow: auto;
  position: relative;
}

.form-design-item {
  border: 1px #ddd dashed;
  margin: 5px 0;
  background-color: #fff;
  padding: 10px 120px 10px 10px;
  position: relative;
  user-select: none;
}

.dnd-design-item-hold {
  height: 0;
  border-bottom: 4px #18f dotted;
  /* background-color: #18f; */
}

.form-design-item-mask {
  z-index: 11;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: move;
}

.form-design-item:hover {
  border-color: #18f;
}

.form-design-item.active {
  border: 1px #18f solid;
  box-shadow: inset 0 0 0 1px #18f;
}

.form-design-item.dragging {
  background-color: #e7f9fe;
}


/* 按钮样式 */
.form-design-item-btns {
  position: absolute;
  top: -1px;
  right: -1px;
  background-color: #18f;
  color: #fff;
  display: flex;
  z-index: 12;
}

.form-design-item-btns .btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.form-design-item-btns .btn:hover {
  background-color: #006bd5;
}

.form-design-item-btns.drag {
  right: unset;
  left: 10px;
}

.form-design-item-btns.drag .btn {
  cursor: move;
}

/* 覆盖antd样式 */
.form-design-box .ant-form-item {
  margin-bottom: 0;
}

.property-panel .ant-form-item {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px #ddd dashed;
}

.property-panel .ant-form-item:nth-last-of-type(1) {
  border-bottom: 0;
}

.property-panel .ant-form-item-label label {
  font-size: 12px;
  color: #999;
}

.property-panel .ant-form-item-required:before {}